# -*- coding:utf8 -*- #
# -----------------------------------------------------------------------------------
# ProjectName:  property-ui-auto-test
# FileName:     meter_management_group.py
# Author  :     
# Datetime:     2022/9/27 18:10
# Description：项目：表计管理
# -----------------------------------------------------------------------------------
from time import sleep

from page.login_page import LoginPage


class MeterManagementProject(LoginPage):
    def meter_management_setup(self):
        # 点击展开
        self.click('//*[@id="app"]/section/section/aside/div/img')
        sleep(0.5)
        # 点击项目信息
        self.click('//*[@id="app"]/section/section/aside/div/div/ul/li[2]/div')
        sleep(0.3)
        # 点击虚拟电表
        self.click('//*[@id="app"]/section/section/aside/div/div/ul/li[2]/ul/li[1]/ul/li')

if __name__ == '__main__':
    mmp = MeterManagementProject()
    mmp.login()
    mmp.meter_management_setup()